#include "thread.h"
#include <QDebug>
int Thread::val = 0;
Thread::Thread()
{

}

void Thread::run()
{
    for(int i = 0;i<10000;i++)
    {
        ++val;
    }
}

